package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.KcpdYkTblBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface KcpdYkTblService extends BaseService<KcpdYkTblBean> {

	KcpdYkTblBean getKcpdYkTblBeanById(String id) throws Exception;
	
	void removeKcpdYkTblBeanById(String id) throws Exception;
	
	void removeKcpdYkTblBeanByIds(String ids) throws Exception;
	
	KcpdYkTblBean saveKcpdYkTblBean(KcpdYkTblBean crm) throws Exception;
	
	KcpdYkTblBean updateKcpdYkTblBean(KcpdYkTblBean crm) throws Exception;
	
	Page<KcpdYkTblBean>  findKcpdYkTblBeanByCond(KcpdYkTblBean bean,
			Page<KcpdYkTblBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveKcpdYkTblBeanExt(String sql) throws Exception;

	String findKcpdYkTblBeanExtCreate(String tableName) throws Exception;

	String findKcpdYkTblBeanExtEdit(String tableName, String id)
			throws Exception;

	String findKcpdYkTblBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasKcpdYkTblBeanExtData(String tableName, String id)
			throws Exception;
}